package com.splant.android.smart.ModelLevel;

import com.splant.android.smart.SystemDefinedLevel.LRecyclerview.bean.MultiItemEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/7/28.
 */

public class DetectorListBean {

    private int succeed;
    private String message;
    private List<DetectorListBean.Detector> DetectorList;

    public void setSucceed(int succeed) {
        this.succeed = succeed;
    }

    public int getSucceed() {
        return succeed;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setDetectorList(List<DetectorListBean.Detector> detectorList) {
        this.DetectorList = detectorList;
    }

    public List<DetectorListBean.Detector> getDetectorList() {
        return this.DetectorList;
    }

    public static class Detector implements MultiItemEntity, Serializable {

        private String detectorId;
        private String detectorName;
        private int detectorState;
        private float electricity;
        private String plantId;
        private String plantName;
        private String areaId;
        private String stOnLine;
        private String etOnLine;
        private int signalIntensity;
        private String tempRange;
        private String humidityRange;
        private int autoGroupId;
        private int abnState;
        private int px;
        private int py;
        private AutoWater autoWater;
        private String plantImgUrl;
        private String waterName;

        private String soilNutrient;
        private String temperature;
        private String humidity;

        public void setDetectorId(String detectorId) {
            this.detectorId = detectorId;
        }

        public String getDetectorId() {
            return this.detectorId;
        }

        public void setDetectorName(String detectorName) {
            this.detectorName = detectorName;
        }

        public String getDetectorName() {
            return detectorName;
        }

        public void setDetectorState(int detectorState) {
            this.detectorState = detectorState;
        }

        public int getDetectorState() {
            return detectorState;
        }

        public void setElectricity(float electricity) {
            this.electricity = electricity;
        }

        public float getElectricity() {
            return electricity;
        }

        public void setPlantId(String plantId) {
            this.plantId = plantId;
        }

        public String getPlantId() {
            return plantId;
        }

        public void setPlantName(String plantName) {
            this.plantName = plantName;
        }

        public String getPlantName() {
            return plantName;
        }

        public void setAreaId(String areaId) {
            this.areaId = areaId;
        }

        public String getAreaId() {
            return areaId;
        }

        public void setStOnLine(String stOnLine) {
            this.stOnLine = stOnLine;
        }

        public String getStOnLine() {
            return stOnLine;
        }

        public void setEtOnLine(String etOnLine) {
            this.etOnLine = etOnLine;
        }

        public String getEtOnLine() {
            return etOnLine;
        }

        public void setSignalIntensity(int signalIntensity) {
            this.signalIntensity = signalIntensity;
        }

        public int getSignalIntensity() {
            return signalIntensity;
        }

        public void setTempRange(String tempRange) {
            this.tempRange = tempRange;
        }

        public String getTempRange() {
            return tempRange;
        }

        public void setHumidityRange(String humidityRange) {
            this.humidityRange = humidityRange;
        }

        public String getHumidityRange() {
            return humidityRange;
        }

        public void setAutoGroupId(int autoGroupId) {
            this.autoGroupId = autoGroupId;
        }

        public int getAutoGroupId() {
            return autoGroupId;
        }

        public void setAbnState(int abnState) {
            this.abnState = abnState;
        }

        public int getAbnState() {
            return abnState;
        }

        public void setPx(int px) {
            this.px = px;
        }

        public int getPx() {
            return px;
        }

        public void setPy(int py) {
            this.py = py;
        }

        public int getPy() {
            return py;
        }

        public void setAutoWater(AutoWater autoWater) {
            this.autoWater = autoWater;
        }

        public AutoWater getAutoWater() {
            return autoWater;
        }

        public void setWaterName(String waterName) {
            this.waterName = waterName;
        }

        public String getWaterName() {
            return waterName;
        }

        public void setPlantImgUrl(String plantImgUrl) {
            this.plantImgUrl = plantImgUrl;
        }

        public String getPlantImgUrl() {
            return plantImgUrl;
        }


        public void setSoilNutrient(String soilNutrient) {
            this.soilNutrient = soilNutrient;
        }

        public String getSoilNutrient() {
            return this.soilNutrient;
        }

        public void setTemperature(String temperature) {
            this.temperature = temperature;
        }

        public String getTemperature() {
            return this.temperature;
        }

        public void setHumidity(String humidity) {
            this.humidity = humidity;
        }

        public String getHumidity() {
            return this.humidity;
        }

        @Override
        public int getItemType() {
            return 0;
        }

    }


}
